import axios from "@/axios"

export function getcaptcha(data) {
    return axios.post("/captcha/getcaptcha", data)
}

export function login(data) {
    return axios.post("/login", data)
}

export function getAdminInfo() {
    return axios.post("/admin/detail")
}

export function updateAdminPassword(data) {
    return axios.post("/admin/password/update", data)
}
